/*
 * Copyright (C) 2017. The UAPI Authors
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at the LICENSE file.
 *
 * You must gained the permission from the authors if you want to
 * use the project into a commercial product
 */

package uapi.app;

/**
 * The application launcher used to launch framework
 */
public interface IApplication {

    /**
     * Launch the application which is based on UAPI framework
     *
     * @param   startTime
     *          The timestamp of the application activeAll time
     */
    void startup(long startTime);

    /**
     * Shutdown the application
     */
    void shutdown();
}
